package com.linkvin.ec.hcs.dao.model.mdm;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商品车表
 * </p>
 *
 * @author qichao
 * @since 2017-12-25
 */
@TableName("mdm_v_series")
public class VSeries extends Model<VSeries> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 品牌ID
     */
	@TableField("brand_id")
	private Integer brandId;
    /**
     * 车系名称
     */
	@TableField("series_name")
	private String seriesName;
    /**
     * 车系级别
     */
	@TableField("series_class")
	private String seriesClass;
    /**
     * 备注
     */
	private String comment;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_update")
	private Date gmtUpdate;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getSeriesClass() {
		return seriesClass;
	}

	public void setSeriesClass(String seriesClass) {
		this.seriesClass = seriesClass;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtUpdate() {
		return gmtUpdate;
	}

	public void setGmtUpdate(Date gmtUpdate) {
		this.gmtUpdate = gmtUpdate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "VSeries{" +
			", id=" + id +
			", brandId=" + brandId +
			", seriesName=" + seriesName +
			", seriesClass=" + seriesClass +
			", comment=" + comment +
			", gmtCreate=" + gmtCreate +
			", gmtUpdate=" + gmtUpdate +
			"}";
	}
}
